<h4><?= lang('calculation'); ?>:</h4>
<ul>
    <li>

        <b class="label-total">&nbsp;€</b>

        <span class="label-total service_total"><?= $service_total ?></span>

        <?= $service_name ?>

    </li>

    <?if(isset($tax->included) && $tax->included == 1):?>

    <li>
        <b class="label-total">&nbsp;€</b>
        <span class="label-total tax_city"><?= $tax->total->city ?></span>
        <?= lang('city_tax'); ?>
    </li>
    <li>
        <b class="label-total">&nbsp;€</b>
        <span class="label-total tax_insurance"><?= $tax->total->insurance ?></span>
        <?= lang('insurance_tax'); ?>
    </li>
    <?if($tax->eco != 0):?>

    <li>
        <b class="label-total">&nbsp;€</b>
        <span class="label-total tax_eco"><?= $tax->total->eco ?></span>
        <?= lang('eco_tax'); ?>
    </li>

    <?endif;?>
    <?endif;?>


    <li id="total" class="total">

        <b class="label-total">&nbsp;€</b> 

        <span class="label-total"><?= $total ?></span> 

        <?= lang('total'); ?> 
    </li>
    <li class="advance_payment" style="display: none">

        <b class="label-total">&nbsp;€</b>

        <span class="label-total"><?= $R_30_PERCENT ?></span>

        <?= lang('advance_payment') ?>

    </li>
</ul>

<?if(isset($tax->included) && $tax->included == 1):?>
<?else:?>
<div class="tax"><?= lang('dtl.tax_not_included'); ?></div>
<? if(isset($tax->included)):?>
<br>
<?= lang('city_tax'); ?>: <?= $tax->city ?><?= lang(currency_sign()); ?> (<?= lang('day'); ?>),<br>
<?= lang('insurance_tax'); ?>: <?= $tax->insurance ?><?= lang(currency_sign()); ?> (<?= lang('day'); ?>)<?if($tax->eco != 0):?>,<br>
<?= lang('eco_tax'); ?>: <?= $tax->eco ?><?= lang(currency_sign()); ?> (<?= lang('day'); ?>)
<?endif;?>
<?endif;?>
<?endif;?>

<div class="vat"><?= lang('vat') ?></div>